package com.yonyou.cyxdms.sysAuth.service.vo.appversion;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yonyou.cyx.function.utils.jsonserializer.localdatetime.JsonLocalDateTimeDeserializer;
import com.yonyou.cyx.function.utils.jsonserializer.localdatetime.JsonLocalDateTimeSerializer;
import com.yonyou.cyxdms.framework.bean.dto.base.DMSBaseDTO;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 版本号dto
 * </p>
 *
 * @author lijun
 * @since 2019-11-07
 */

public class AppVersionVO extends DMSBaseDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 版本
     */
    private String versionId;

    private String versionNo;

    private String appType;

    private String remark;

    private String url;

    private String appId;

    private Integer status;

    private Integer isForced;

    private String createdMan;

    private String fileName;

    @JsonDeserialize(using = JsonLocalDateTimeDeserializer.class)
    @JsonSerialize(using = JsonLocalDateTimeSerializer.class)
    private LocalDateTime createdDate;

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getVersionId() {
        return versionId;
    }

    public void setVersionId(String versionId) {
        this.versionId = versionId;
    }

    public String getVersionNo() {
        return versionNo;
    }

    public void setVersionNo(String versionNo) {
        this.versionNo = versionNo;
    }

    public String getAppType() {
        return appType;
    }

    public void setAppType(String appType) {
        this.appType = appType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIsForced() {
        return isForced;
    }

    public void setIsForced(Integer isForced) {
        this.isForced = isForced;
    }

    public String getCreatedMan() {
        return createdMan;
    }

    public void setCreatedMan(String createdMan) {
        this.createdMan = createdMan;
    }

    public LocalDateTime getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(LocalDateTime createdDate) {
        this.createdDate = createdDate;
    }

    @Override
    public String toString() {
        return "AppVersionDTO{" +
                "versionId='" + versionId + '\'' +
                ", versionNo='" + versionNo + '\'' +
                ", appType='" + appType + '\'' +
                ", remark='" + remark + '\'' +
                ", url='" + url + '\'' +
                ", appId='" + appId + '\'' +
                ", status=" + status +
                ", isForced=" + isForced +
                ", createdMan='" + createdMan + '\'' +
                ", createdDate=" + createdDate +
                '}';
    }
}
